package exception;

public class ContaInexistenteException extends Exception {
	
	private static final long serialVersionUID = 1L;
	
	private int codAgencia;
	private String codConta;
	
	public ContaInexistenteException(String codConta, int codAgencia){
		this.codAgencia = codAgencia;
		this.codConta = codConta;
	}
	
	public String toString(){
		return "Conta de numero: " + this.codConta + 
			   " Agencia: " + this.codAgencia + 
			   " e inexistente.";
	}
	
}
